Einhugur RawBitmap Objo plugin.

Einhugur.RawBitmap.FillRectAlpha Method

Draws only the alpha channel of filled rectangle

FillRectAlpha(
   x as Integer,
   y as Integer,
   width as Integer,
   height as Integer,
   alpha as Integer)

Parameters

x
The x-coordinate of the top-left corner of the rectangle.
y
The y-coordinate of the top-left corner of the rectangle.
width
The width of the rectangle.
height
The height of the rectangle.
alpha
The alpha value to fill the rectangle with.

Remarks

If the RawBitmap has no alpha channel then this method does nothing.

This method has no meaningful result when using CMYK colorspace.

This method does nothing on 16bit per channel bitmaps.

See Also

Einhugur.RawBitmap Class